package com.nwcl.ysx.vo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class OrdersVO {
    private Integer id;//id
    private String orderCode;//订单号
    private BigDecimal price;//订单金额
    private BigDecimal realPrice;//实付金额
    private Integer status;//订单状态,1:待付款 2:已完成 3:已关闭,4已退款
    private String statusStr;
    private String createTime;//创建时间
    private String payTime;//支付时间
    private Integer integral;//积分
    private List<OrdersGoodsVO> goodsList=new ArrayList<>();//商品详情列表

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }


    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getRealPrice() {
        return realPrice;
    }

    public void setRealPrice(BigDecimal realPrice) {
        this.realPrice = realPrice;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusStr() {
        return statusStr;
    }

    public void setStatusStr(String statusStr) {
        this.statusStr = statusStr;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public List<OrdersGoodsVO> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<OrdersGoodsVO> goodsList) {
        this.goodsList = goodsList;
    }

    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }
}
